package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * WebAddressConfig
 *
 * @author HHKJ-SERVER-ZJ
 * @since 2023/7/13 14:09
 */
@Component
@ConfigurationProperties(prefix = "ruoyi.webaddress")
public class WebAddressConfig
{
    private static String trainViewAddress;

    private static String trainAddress;

    public static String getTrainViewAddress()
    {
        return trainViewAddress;
    }

    public void setTrainViewAddress(String trainViewAddress)
    {
        WebAddressConfig.trainViewAddress = trainViewAddress;
    }

    public static String getTrainAddress()
    {
        return trainAddress;
    }

    public void setTrainTestAddress(String trainTestAddress)
    {
        WebAddressConfig.trainAddress = trainTestAddress;
    }
}
